- if logged_in?
  #menu_admin
    %ul
      %li= link_to_remote 'ajouter une salle', {:url => {:controller => :rooms, :action=> :new}, :before => "Element.show('loader');Element.show('wait_icon')", :complete => "Element.hide('loader');Element.hide('wait_icon')"}, :href => (url_for ({:controller => :rooms, :action => :new}))
      %li= link_to_remote 'ajouter un ordinateur', { :url => {:controller => :computers, :action=> :new}, :before => "Element.show('loader');Element.show('wait_icon')", :complete => "Element.hide('loader');Element.hide('wait_icon')"}, :href => (url_for ({:controller => :computers, :action => :new}))
